home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2007 December
/
PCWKCD1207B.iso
/
Blogowanie poza sfera
/
Flock 0.9.1.3 stable
/
flock-0.9.1.3.en-US.win32.exe
/
flock
/
res
/
detect
/
magnolia.xml
< prev
next >
Wrap
Extensible Markup Language
|
2007-10-12
|
2KB
|
74 lines
<?xml version="1.0" encoding="utf-8"?>
<service name="magnolia"
version="$Id: magnolia.xml 13478 2007-07-19 19:45:26Z chris $"
xmlns="http://www.flock.com/web-detective#">
<strings>
<string name="domains" value="gnolia.com"/>
</strings>
<sessioncookies>
<cookie host="ma.gnolia.com" name="_session_id" path="/"/>
<cookie host="ma.gnolia.com" name="a" path="/"/>
<cookie host="ma.gnolia.com" name="c" path="/"/>
<cookie host="ma.gnolia.com" name="d" path="/"/>
<cookie host=".ma.gnolia.com" name="__utma" path="/"/>
<cookie host=".ma.gnolia.com" name="__utmb" path="/"/>
<cookie host=".ma.gnolia.com" name="__utmc" path="/"/>
<cookie host=".ma.gnolia.com" name="__utmz" path="/"/>
</sessioncookies>
<detect type="login">
<url domain="ma.gnolia.com"/>
<form>
<xpath name="username" extract="value">
<![CDATA[[@action="http://ma.gnolia.com/signin"]/p/input[@id="signin"]]]>
</xpath>
<xpath name="password" extract="value">
<![CDATA[/p/input[@id="password"]]]>
</xpath>
</form>
</detect>
<detect type="signup">
<url domain="ma.gnolia.com"><path contains="/join"/></url>
<form>
<field tagname="input" fieldid="signup_user_screen_name" extractas="username"/>
<field tagname="input" fieldid="password_confirmation" type="password" extractas="password"/>
</form>
</detect>
<detect type="changepassword">
<url domain="ma.gnolia.com"><path contains="/account/profile"/></url>
<document>
<regexp re1="username">
<![CDATA[/ma.gnolia.com\/people\/(.*)\/tags"/]]>
</regexp>
</document>
<form>
<xpath name="password" extract="value">
<![CDATA[//input[@id="password_confirm"][@type="password"]]]>
</xpath>
</form>
</detect>
<detect type="loggedin">
<url domain="ma.gnolia.com"/>
<xpath>
<![CDATA[//div[@id="masthead"]//p/text()[contains(.,"Welcome")]]]></xpath>
</detect>
<detect type="loggedout">
<url domain="ma.gnolia.com"/>
<xpath><![CDATA[//div[@id="masthead"]//p/a[@href="http://ma.gnolia.com/signin"]//text()[contains(.,"Sign In")]]]></xpath>
</detect>
<detect type="accountinfo">
<url domain="ma.gnolia.com"/>
<regexp re1="accountid">
<![CDATA[/title="Edit\sYour\sProfile">(.+?)<\/a>/]]>
</regexp>
</detect>
</service>